Skip to content

feat: Add Kimi CLI support#13

Closed
YanxingLiu wants to merge 2 commits intopeteromallet:mainfrom
YanxingLiu:main
Closed

feat: Add Kimi CLI support#13
YanxingLiu wants to merge 2 commits intopeteromallet:mainfrom
YanxingLiu:main

Conversation

@YanxingLiu
Copy link

@YanxingLiu YanxingLiu commented Feb 26, 2026

This PR adds full support for exporting conversation history from Kimi CLI (Moonshot AI's command-line interface), making DataClaw compatible with five AI coding assistants: Claude Code, Codex, Gemini CLI, OpenCode, and Kimi CLI.

@YanxingLiu YanxingLiu marked this pull request as ready for review February 26, 2026 04:08
@YanxingLiu YanxingLiu changed the title Add support for Kimi CLI feat: Add Kimi CLI support Feb 26, 2026
@woct0rdho
Copy link
Contributor

Hi, could you also export tool call inputs and outputs, like what's done in #12 ?

@peteromallet I guess we eventually need a refactor to split each provider and prevent cli.py and parser.py from growing too long.

peteromallet added a commit that referenced this pull request Feb 26, 2026
Implements Kimi CLI session parsing from ~/.kimi/sessions/. Kimi uses
MD5 hashes of working directory paths as project folder names, with
session data in context.jsonl files. Supports thinking blocks, tool
calls, and token usage extraction.

Based on PR #13 by @YanxingLiu, integrated with current codebase.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@peteromallet
Copy link
Owner

Closing this PR — Kimi CLI support has been implemented directly in main (commit 3c09914), based on your work here. Thank you @YanxingLiu for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants